import request from '@/utils/request'

// 查询ID-11 -23 临床有效浓度列表
export function listTdmLinChuangYouXiao(query) {
  return request({
    url: '/tdm/TdmLinChuangYouXiao/list',
    method: 'get',
    params: query
  })
}

// 查询ID-11 -23 临床有效浓度详细
export function getTdmLinChuangYouXiao(id) {
  return request({
    url: '/tdm/TdmLinChuangYouXiao/' + id,
    method: 'get'
  })
}

// 新增ID-11 -23 临床有效浓度
export function addTdmLinChuangYouXiao(data) {
  return request({
    url: '/tdm/TdmLinChuangYouXiao',
    method: 'post',
    data: data
  })
}

// 修改ID-11 -23 临床有效浓度
export function updateTdmLinChuangYouXiao(data) {
  return request({
    url: '/tdm/TdmLinChuangYouXiao',
    method: 'put',
    data: data
  })
}

// 删除ID-11 -23 临床有效浓度
export function delTdmLinChuangYouXiao(id) {
  return request({
    url: '/tdm/TdmLinChuangYouXiao/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
